package com.tledu.ssm01.service;

import com.tledu.ssm01.model.User;

import java.util.List;

/**
 * @author Antg
 * @date 2021/8/12  18:40
 */
public interface UserService {
    List<User> findAll();

    User login(String username,String password);

    int editUser(User user);

    int editHeadPic(Integer id,String headPic);

    User findByUserName(String username);
}
